import type { App } from 'vue'
import { createApp } from 'vue'
import AppVue from './App.vue'

export let app: App

export async function setup() {
  app = createApp(AppVue)
  app.mount('#app')
}

// export { addAppComponent, addRightSideAppComponent } from './component'
export { addAppComponent } from './components'
export { registerAppMenu } from './navbar'
export { openFloatPane, activeOrOpenFloatPane } from './float-pane'
